﻿<UserControl x:Class="SLPivotViewer.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:pivot="clr-namespace:SLPivotViewer"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="0"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <HyperlinkButton Click="Button_Click" Grid.Row="0" x:Name="btnReset" Content="Reset to Site Navigation" Visibility="Collapsed"/>
        <pivot:PivotViewerSP Grid.Row="1" x:Name="PivotViewer"
                           Loaded="PivotViewer_Loaded"
                           LinkClicked="PivotViewer_LinkClicked"
                           ItemDoubleClicked="PivotViewer_ItemDoubleClicked" />
    </Grid>
</UserControl>
